Logic calculator for CS250 authored by Bob and alex