Move function implemented for enemies