Methods in Algebraic Statistics for the Design of Experiments