fix minor bug

fixed bug at defining a range with 0,0
added multi-version

the python script which is capable of running under the two different
versions of 2.7 and 3.3