added method for solving blocks with 5 unknown