Finished

finished the code part,  now onto making the flow chart.