Added windoze stuff
added getopt.h for windoze
Basic indexed drawing