Removed unnecessary import
Fixed connection leak

Connection wouldn’t be closed after return statement
Added homework page. Work in progress.