Solution for the Datacollection part of our final exam project.