Teaching and Learning Mathematics with Java