Java Calculator written in large part by Tobias Oskarsson in conjunction with me