Syntaxerror Return Outside Function Python 3