adding .gitignore
java and python solutions to problem 1
adding C solution to problem 1