commit and sink

finished prompting exercise calculate rectangle area