Update mouse_coor_capture.cpp

- Added feature where points are generated once a user presses "g"