updated to override operators
added examples of function declaration syntax in scala
updated tests to use new package