Detection and control of charge states in a quintuple quantum dot