simple shitty untested path finding implemented to an arbitrary point based on keypress A