Simple mathematics ruby lib