Simple Math Solutions using Code