simple scala quine implemented