create code calculator