Hackerrank Max Array Sum Python Code Checker