added a test and gave the methods the correct ruby syntax
corrected a few things in the README.md and added the compare_array method.