Added define to rbtree.c.
Added shared functions header file.
Started work on p-matching.

Preprocessing now implemented and tested.
Implemented parametrised matching.
Added test for when n == m.
Added comments
Added free operations.