Wrote logging functionality
Wrote a simple example test