Thanks to @Tezliov for the code. Get a friend on another PC then try to complete the maze together! Or play alone! Instructions: Use the arrow keys to move.
The code for the end isn't there. Sorry about that.