Create GHP#2.cpp

Homework problem # 2 for CS 240 - Data Structures