implemented first part of compiler & parser