Created new tests for connectedLocations (), fixed connectedLocations, fixed joinTwoLists () in list.c