Some improvements.
Introduced bit shift operators
Merge remote-tracking branch 'origin/master'