I would suggest visiting www.organic-chemistry.org/chemicals/structuresearch.htm
It's a pretty good website, I must say. Simply stretch and draw carbon bonds, replace atoms of carbon with other heteroatoms, or even add double and triple bonds. It usually gives you the name of the compound as well as sources to buy it upon clicking the Exact Search button.
Happy structure searching!