Fixed section lengths so that the whole string is considered, preventing the program from ignoring the last few characters of a text file. Also removed spaces using a lambda...