Completed topological sort implementation.
Added some documentation for Topological.java