Separated goat from bug movement code and added constants