implementing a basic eval with addition