Cover letters are really hard. They are a way to sell the employer what you can offer the company. It should be short and should mention the job you are appling for and what skills you have that makes you think you can do the job. Its almost like a personal statement but try not to be too forward or cocky. Just address what they say they are looking for. It is hard to explain.