Worked on problem 18

Implementing A* search, plus my first forays into defining a class, plus
intro to pointers. Still a little hazy - let's hope tomorrow holds more
answers!