changed implementation of links adjacency list from Vector to ArrayList
removed unused imported libraries
removed unnecssary comments
removed unused imported libraries