One more solutions, aim for simplicity for problem 73.

Although original solution is not necessary bad (maybe even it is good
enough), considering trying one more implementation with goal of
simplicity.