update

Cleaned up code. Still don't know what is wrong with my Adjacency List.
Will fix later, but atm I have no idea as to what is happening in it.
The algorithm seems fine, but it just does wierd stuff at the moment.