Added functions from class examples
Added functions from class examples

ironcupcakes/CMPUT404-assignment-websockets,ironcupcakes/CMPUT404-assignment-websockets,ironcupcakes/CMPUT404-assignment-websockets,ironcupcakes/CMPUT404-assignment-websockets