Solve question 7
Merge remote-tracking branch 'pivlano/q7-solution'
Improve question 7 solution with better default return value and call signature