The program takes in the correct word as the first argument and reads stdin for the bitmap. '1' means either yellow or green and '0' means gray. You can specify yellow with 'y' and green with 'g'.
Example:
$ ./main wound <<< "110g0"
doing
Languages
Go
100%