#ifndef MYLIST
#define MYLIST
/** DECLARATION of class Node **/
class Node;
/** DEFINITION of class List ***/
class List{
private:
Node *head;
public:
// Default constructor
List() {
head = 0;
}
// Adds val to front of list
void add2front(int val);
// returns true if val in
// list, falst otherwise
bool contains(int val);
// Destructor
~List();
};
#endif