fixes Guardfile and adds the lib and spec files
adds bracket and keys methods and some tests.