Started math class, recursive factorial function added.