An elementary treatise on elliptic functions