Completed the getAVote method

Includes javadoc for said method