Setting An Array Element With A Sequence Error Python