Update homework5.cpp

header added