Pathfinding is an interesting subject and a worthy topic for a contest.

The input could be an array of chars, specifying the map.