Removed bounds control from trans.add method
Added comments
Added BFS algorithm
Added BFS algorithm