implement Siteswap.isValid() by making an inDegree field for the Hand class and checking that it's equal to tosses.size() for each hand