Aggregation of small peptides studied by molecular dynamics simulations