Complete overhaul from initial implementation. Linked list used as a table of sorts to store the data.