added functionality
added option to return the result of solve nse as list