Java Io Error While Reading Input In Python Examples Of Functions