made updates in an attemptt to get image to appear, also updated firstFit alogrithm