added foreach method
improved readme