added switch statement for ham.c for checking in when to add in parity bits and when to insert in message bits