Update main.c

added ability to save score
Merge pull request #13 from lukasT1994/patch-11

Update main.c