Added a coordinates parser to capture user input