finished local version but doesn't work on EMR because of the import boto call
finished lab5 after a busy and weird night