added usaco beads
some structure for usaco