renamed common functions file
problem 43 solution