Update moorescoleslaw.py

Converted year from string to integer. Changed try/except to if/else