Added code

Added code from week 2 project. Also added a timer code.