Converting the given direction to Uppercase, to stop Lowercase Errors.