IN4331 Exercise 2 CouchDB