100 Gates Level 16 Solution