void addInTail(struct Node **head, int val){
struct Node* new = (struct Node*) malloc (sizeof(struct Node));
printf("Node: %d\n", new->val);
int findMidOfLL (struct Node** head){
struct Node* slow = *head;
struct Node* fast = *head;
while(fast->next != NULL && fast->next->next != NULL){
if(fast->next->next == NULL){ //it's even
return ((slow->val + (slow->next)->val)/2);
return (slow->next)->val;