Made minor corrections to Note class.

Added initializer, removed default values, replaced if-statement with
dictionary.