Created Dual type to represent dual numbers and dual arithmetic