Sample program to test all kinds of operations