Added file writing for data capturing
Merge branch 'master' of https://github.com/yashutanna/COS314_Project2