Added code to Entry class to check if the last line in the entry is spaces. If not, entry is not valid. All tests pass.