added an int test program
fixing unary operator issues
merged with head