A simple graphics program written in Java (first year coursework)