adding function to analyze input msg

check if input msg as bit list can be transformed into a parity pattern