Pacman implementation written in c# as a console application.