Branching for issue #37
Solved issue #37 and imlemented a Time.measure method for debugging purposes.