added new function findParityS to ham.c. general structure for finding parity bit valu