Decorator, algorithms

- Implemented a decorator to test some functions
- started on paper work to figure out what sort of algorithm I could use