Added partially complete Problem 167 solution