Flag acts as "AC" / "CLEAR" button. Calculations limited to a normal calculator's limit (9e99).
Just for fun. If anyone has a simpler version, please link it or remix and replace code. Thanks dog2879