A 529 plan helps with higher education expenses so the last thing you want is to be hit with a penalty. Find out how to avoid them.