add solution for 'bit beauty game'