Update tool.py: add more comments

Signed-off-by: Michael LeCompte <michaelslec98@gmail.com>