It's hard to tell what you have going on without seeing your images or, at the very least, knowing the size of your images.
If I assume your Sample.jpg is 120px square then I would say the gaps are either cause by your 3px margin on the li's or, even more likely, the
margin: 0 5px 5px; on your anchors.
When posting code in the forum, please use the code tags, [code][/code] - available with the # button in the post edit window.
This will wrap your code in a scroll box which greatly helps the readability of your post.