Replaced vectors with linked lists; with currently implemented algorithms and functions, performance doubles. However, has potential of introducing multithread based issues