First working version of code
Added solution time printouts