Added a solution to a new coding problem