Completion of the Bubble sort

Fix of a bug with the scanner. Added a timer for the execution time.