Java User Defined Functions Arduino