fixing up isValidMove for step moves