A java equation solver