Cleaned up main a bit. Added useful .gitignore
Signed-off-by: Harrison Houghton <hwh48@cornell.edu>