Assignment 1 - Perl2Python