corrected/added introduction, fixed some lstlistings