Lab 4 details and sample input
Using lab 2 source code as a starting point