ImageBean collection complete.
1. Removed the queue structure as it is not required.
2. Shifted ImageBean regex matching to those lines where we were earlier adding elements to the queue.
3. If markedForImage is true, we enter an if block where we commence the storing of ImageBeans in the LinkedHashMap.
4. After many chops and changes, got the Image Bean regexes working.