From my experience of insomnia the best cure without a doubt is to lean to meditate. I practice Vipassana meditation for about half an hour in the morning and before bed and I'm always asleep within minutes.
You can learn how to clear your restless mind of thoughts and the anxiety that causes insomnia, including thoughts of not being able to get to sleep. It really is worth investing time and effort in meditating. It's free and the technique itself, once mastered, is as good as sleep while you are doing it. You can learn by yourself but I recommend doing a 10 day course. Its a 10 day meditation boot camp, free of charge, but you'll never regret it.