Just prettying the code up a bit

Added an EoF exception which can store the number and content of the
last line before the end of file. Added some explanations.