Adding comments

some comments added to the code, also some minor changes applied. Now i
am going to use the standard C++ stack class, the one defined into the
std namespace.