Having taken the Coursera course in Computational Neuroscience and also having read the book recomended by the professors in the course, I have decidied to write some code for the different units the book has. The exercises to which this code is written for can be found in the following websidte: http://www.gatsby.ucl.ac.uk/~dayan/book/index.html.