Revert "PacMan even worse now"

This reverts commit 6818de0c4f3c6add29834acf1d56303fd2a6cd47.
Removed printing of single lines
Implemented states. PacMan much better now.
Still doesn't eat PowerPills
Changed nodes to be indexes with pills instead of junctions
Changed the way states are changed. PacMan is now better
Minor changes