function that tries every possible solution by calling itself recursively
void TOWUtil ( int [ ] arr , int n , Boolean [ ] curr_elements , int no_of_selected_elements , Boolean [ ] soln , int sum , int curr_sum , int curr_position ) {