updated documentation
put code in function, made possible to input number to specify size of multiplication table