1. Update comments
2. Add codes for testing InputStream
3. Add codes to compare time consuming