Removes hard coding

Bases the number of traps and medkits on the size of the maze.