added sheep moving functionality