readme formatted
some changes in "if" statement