changed movement to 8 directions