Added some new functions to the basic library and updated the examples
Added solutions to homework