working edge detection
added command line args, better edges