Grade calculator for android