Added area funciton w/ tests