First practical task after reading Ruby book. Trying to create a command-line tool to download images from remote HTML page.