Minor Changes and added a Date instance that counts how much time it took to run the algorithm