Problems 1-4

Completed in Python!