Added Python parser implementation (still need to add pattern matching
api functions)