1. Methods: 2. routine chomp - removes trailing newlines