Investigation of structure and stability of small clusters: Molecular dynamics studies of water pentamers