added sample program

and configured gitignore to keep sample programs, but throw all else
way in input and output