Finished second practice problem

A simple problem, but there's value in that. Not everything will require
a fancy algorithm.