reduced includes
greedy
greedy
greedy
non-greedy option implemented
deleted out of date info
output converted to starting from position 1
cleanup
cleanup unused code