added collision detection before move
fixed positioning of loop generated ships