simple program for percent chance