removed unused starting conditions, added linecount to comments
improved test program