added standard library and modularized second chapter