working on edx fp101x lab5
edx fp101x lab5 (finished implementation - not tested yet)