I've not made one so can't give you an idea of cost but I would say don't attempt to make one unless you know what you're doing.
The materials + any equipment you need could work out more expensive than buying and you want to be sure that it's totally secure.
I'm sure someone will be along shortly with an idea of cost though, if you're confident enough to build one