Testing program with sample input