Made Link objects immutable and implemented a very primitive hashing system. Polynomial calculation speeded up slightly.
Merge branch 'master' of https://github.com/MatthiasValvekens/Miscellaneous
Code cleanup and merge.