created decorator function/module to time my solutions
cleaned up problem 4