Create Homework3.CPP

Steps that run through the hw3 algorithm