deleted unncessary code in Move.calculateIsValid()