Fixed plugboard misalignment issue, left existing code in comments.