See description for details

* Changed some names and declarations in array.cpp to fix some problems
* Fixed a bug in range.cpp
+ Added Makefile
+ Added a module test program (test.cpp)