added 8 possible solutions to output matrix