finishing modifying the examples to work with ruby, imported Makefile and test for testing examples