A simple percentage calculator