Removed memory leak when error occured and list wasnt empty
Added support for sqrt function
Implemented power function ^
Added support for trigonometric functions