added updated (but not totally finished) curveball.s source to tools directory