added powers to equation solver fixed bug with negatives numbers