First version of week 5
Finished week 5 theory