Added the hash functionality and some extra test files
Added a variable testcase for hash calculation
Added cloning
Relation expansion is now working. Not sure where I'll use it but it is there.