Add multiline else parsing and function parsing