Introduced gitignore file, extended documentation

ignoring ruby mine files
Extended Parser functionality + Docs

+ Handling case :size is 1
+ Reversed order of 2nd print statement since otherwise someone would
manually have to revert all the printed pages after having performed the
1st printer task.
+ Added code documentation
+ Slightly refactored code