A graph written in scala for AI searching.