Added checks for the Move class constructor parameters.