Added rudimentary rectangle-drawing capability