Implementing Operation and printTable