Modified user input gathering and added bounds checking on coordinates inputted