Added Justin's updated code, as well as AI pseudocode framework

The code we worked on today was added.  This mostly entailed getting AI
prepped in pseudocode and fixing a bug we were having with typecasting,
as well as ensuring that Dijkstra was up to standards.