Added @Override annotation in sample codes in README.md

Added @Override annotation in sample codes in README.md to improve readability.