Added Scanner closing statements.