Code for Quizz 2 of the Coursera Computational Neuroscience Course