Misc. code for learning and practice purposes.