Create function3.java

Not sure if this is gonna work!! FINGERS CROSSED EVERYONE!