added homework problems
added function examples