Basic collisions with raycasting is now working. There is a smoother way to do this though.
Trying to get collisions right. Still not working.
Cleaned up code to post a link to stack overflow
Used floodfill algorithm to check that all walls are connected in ErrorHandler class for maze building