Added in error checking

Added error checking for military time inputs.