changed the getAllSolutions method so now it is going through all possible operators combinations