I have tried to make a function that should operate just like java's printf function, as documented here: https://docs.oracle.com/javase/8/docs/api/java/util ...