re-arranged some source code

made some final tweaks to the code
finally added my flowchart

also provided a link to my github page for this assignment