add 99bottles embedded program and fix overflow issue