Java program to print multiplication table of any number