simple swap game for a class project