1. Given a Linked List of nodes, say, A* head, write a function, bool check(A* head, A* b) to check if another given node, A* b, is in that list. Test with
class A {
int i; //Data
A* next; //Pointer to next node
}
2. Write a function void size(A* head) that prints (to console) the number of elements in a linked list head.